package vn.com.tiz.DocumentZ;


import vn.com.tiz.DocumentZ.settings.AppSettings;
import vn.com.tiz.DocumentZ.test.actBookViewer;
import vn.com.tiz.DocumentZ.test.actFLVPlayer;
import vn.com.tiz.DocumentZ.test.actPlayYouTubeStream;
import vn.com.tiz.DocumentZ.test.actSWLPlayer;
import vn.com.tiz.DocumentZ.test.actTestVideoView;
import vn.com.tiz.DocumentZ.test.actTestWebView;
import vn.com.tiz.DocumentZ.test.actTestXmlGet;
import vn.com.tiz.DocumentZ.test.actTestZoom;
import vn.com.tiz.DocumentZ.test.actYoutubePlayer;
import vn.com.tiz.DocumentZ.utils.LogTools;
import vn.com.tiz.bookcase.BookViewActivity;
import vn.com.tiz.core.AppSetting;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.util.DisplayMetrics;
import android.view.Window;

public class DocumenZActivity extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
    	
    	LogTools.info("********START APPLICATION*********");
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
       
        AppSetting.config(this);
        
        //AppSettings.initializeApp(this);     
        //showActivity(actBookViewer.class);
        showActivity(BookViewActivity.class);
        //showActivity(actDocmentViewer.class);
        //showActivity(actTestPageViewer.class);
        //showActivity(actTestVideo.class);
        //showActivity(VideoDemo.class);
        //showActivity(actTestVideoView.class);
        //showActivity(actTestWebView.class);
        
        //showActivity(actFLVPlayer.class);
        //showActivity(actSWLPlayer.class);
        //showActivity(actYoutubePlayer.class);
        //showActivity(actPlayYouTubeStream.class);
        //showActivity(actTestZoom.class);
        //showActivity(actTestXmlGet.class);
    }
    
    private void showActivity(Class<?> cls){
    	Intent intent = new Intent(this,cls);
        startActivity(intent);
        finish();
    }
}